extends Node2D

export var has_Food=true

# Called when the node enters the scene tree for the first time.
func _ready():
	get_tree().paused=false
	get_tree().debug_collisions_hint=true
	get_tree().debug_navigation_hint=true
	#Global.showDebugShape(true)
	#状态从默认变为吃食物教程的步骤
	if Global.tip_action=="":
		Global.tip_action="吃食物"
		$newer_tip/tip_anim.play("eat")
		print("当前教程状态>",Global.tip_action)
	print("当前教程状态>",Global.tip_action)
func _process(delta):
	if Global.tip_action=="去喝水":
		$newer_tip/tip_anim.play("toDrink")
		set_process(false)
	pass
#切换场景到厨房
func _on_to_kitchine_body_entered(body):
	if body.name=="kine":
		get_tree().change_scene("res://Scenes/chufang.tscn")
	pass # Replace with function body.
